  <style>
    /* ===========================================
       基础样式与变量
       =========================================== */
    :root {
      /* 颜色变量 */
      --color-primary: #1e40af;
      --color-secondary: #3b82f6;
      --color-accent: #60a5fa;
      --color-light: #bfdbfe;
      --color-dark: #0f766e;
      --color-gray-50: #f9fafb;
      --color-gray-100: #f3f4f6;
      --color-gray-200: #e5e7eb;
      --color-gray-300: #d1d5db;
      --color-gray-600: #4b5563;
      --color-gray-700: #374151;
      --color-gray-800: #1f2937;
      --color-gray-900: #111827;
      --color-white: #ffffff;
      --color-red-600: #dc2626;
      --color-green-600: #10b981;
      --color-purple-600: #8b5cf6;
      --color-yellow-500: #eab308;
      
      /* 尺寸变量 */
      --container-width: 1200px;
      --border-radius-sm: 8px;
      --border-radius-md: 12px;
      --border-radius-lg: 16px;
      --border-radius-full: 999px;
      
      /* 阴影变量 */
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
      --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    }
    
    /* 基础样式重置 */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      scroll-behavior: smooth;
      background-color: var(--color-gray-50);
      color: var(--color-gray-800);
      line-height: 1.6;
    }
    
    /* ===========================================
       工具类
       =========================================== */
    .container {
      width: 100%;
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    
    .text-center {
      text-align: center;
    }
    
    .font-bold {
      font-weight: 700;
    }
    
    .font-semibold {
      font-weight: 600;
    }
    
    .text-xl {
      font-size: 1.25rem;
    }
    
    .text-2xl {
      font-size: 1.5rem;
    }
    
    .text-3xl {
      font-size: 1.875rem;
    }
    
    .text-4xl {
      font-size: 2.25rem;
    }
    
    .text-5xl {
      font-size: 3rem;
    }
    
    .mb-2 {
      margin-bottom: 0.5rem;
    }
    
    .mb-3 {
      margin-bottom: 0.75rem;
    }
    
    .mb-4 {
      margin-bottom: 1rem;
    }
    
    .mb-6 {
      margin-bottom: 1.5rem;
    }
    
    .mb-8 {
      margin-bottom: 2rem;
    }
    
    .mb-10 {
      margin-bottom: 2.5rem;
    }
    
    .mb-12 {
      margin-bottom: 3rem;
    }
    
    .mt-4 {
      margin-top: 1rem;
    }
    
    .mt-6 {
      margin-top: 1.5rem;
    }
    
    .mt-8 {
      margin-top: 2rem;
    }
    
    .mt-12 {
      margin-top: 3rem;
    }
    
    .mt-16 {
      margin-top: 4rem;
    }
    
    .p-2 {
      padding: 0.5rem;
    }
    
    .p-4 {
      padding: 1rem;
    }
    
    .p-6 {
      padding: 1.5rem;
    }
    
    .p-8 {
      padding: 2rem;
    }
    
    .py-2 {
      padding-top: 0.5rem;
      padding-bottom: 0.5rem;
    }
    
    .py-3 {
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
    }
    
    .py-4 {
      padding-top: 1rem;
      padding-bottom: 1rem;
    }
    
    .py-8 {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
    
    .px-4 {
      padding-left: 1rem;
      padding-right: 1rem;
    }
    
    .px-6 {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
    
    .rounded-lg {
      border-radius: var(--border-radius-lg);
    }
    
    .rounded-xl {
      border-radius: var(--border-radius-lg);
    }
    
    .rounded-full {
      border-radius: var(--border-radius-full);
    }
    
    .shadow-md {
      box-shadow: var(--shadow-md);
    }
    
    .shadow-lg {
      box-shadow: var(--shadow-lg);
    }
    
    .shadow-xl {
      box-shadow: var(--shadow-xl);
    }
    
    .bg-white {
      background-color: var(--color-white);
    }
    
    .bg-gray-50 {
      background-color: var(--color-gray-50);
    }
    
    .bg-gray-100 {
      background-color: var(--color-gray-100);
    }
    
    .bg-gray-500 {
      background-color: var(--color-gray-600);
    }
    
    .bg-blue-600 {
      background-color: var(--color-primary);
    }
    
    .bg-gradient-blue {background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    }
    
    .text-white {
      color: var(--color-white);
    }
    
    .text-gray-500 {
      color: var(--color-gray-600);
    }
    
    .text-gray-600 {
      color: var(--color-gray-600);
    }
    
    .text-gray-700 {
      color: var(--color-gray-700);
    }
    
    .text-gray-800 {color: var(--color-gray-800);
    }.text-blue-600 {
      color: var(--color-secondary);
    }
    
    .text-blue-100 {
      color: var(--color-light);
    }
    
    .text-red-600 {
      color: var(--color-red-600);
    }
    
    .text-green-600 {
      color: var(--color-green-600);
    }
    
    .text-purple-600 {
      color: var(--color-purple-600);
    }
    
    .flex {
      display: flex;
    }
    
    .flex-wrap {
      flex-wrap: wrap;
    }
    
    .items-center {
      align-items: center;
    }
    
    .justify-center {
      justify-content: center;
    }
    
    .justify-between {
      justify-content: space-between;
    }
    
    .justify-end {
      justify-content: flex-end;
    }
    
    .space-x-2 > * + * {
      margin-left: 0.5rem;
    }
    
    .space-x-4 > * + * {
      margin-left: 1rem;
    }
    
    .space-x-6 > * + * {
      margin-left: 1.5rem;
    }
    
    .space-y-3 > * + * {
      margin-top: 0.75rem;
    }
    
    .space-y-4 > * + * {
      margin-top: 1rem;
    }
    
    .space-y-6 > * + * {
      margin-top: 1.5rem;
    }
    
    .block {
      display: block;
    }
    
    .inline-block {
      display: inline-block;
    }
    
    .relative {
      position: relative;
    }
    
    .absolute {
      position: absolute;
    }
    
    .inset-0 {
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }
    
    .top-4 {
      top: 1rem;
    }
    
    .right-4 {
      right: 1rem;
    }
    
    .bottom-4 {
      bottom: 1rem;
    }
    
    .left-0 {
      left: 0;
    }
    
    .right-0 {
      right: 0;
    }
    
    .w-full {
      width: 100%;
    }
    
    .w-12 {
      width: 3rem;
    }
    
    .w-48 {
      width: 12rem;
    }
    
    .h-12 {
      height: 3rem;
    }
    
    .h-48 {
      height: 12rem;
    }
    
    .h-64 {
      height: 16rem;
    }
    
    .h-80 {
      height: 20rem;
    }
    
    .h-96 {
      height: 24rem;
    }
    
    .max-w-md {
      max-width: 28rem;
    }
    
    .max-w-4xl {
      max-width: 56rem;
    }
    
    .max-h-90vh {
      max-height: 90vh;
    }
    
    .object-cover {
      object-fit: cover;
    }
    
    .object-contain {
      object-fit: contain;
    }
    
    .overflow-hidden {
      overflow: hidden;
    }
    
    .overflow-y-auto {
      overflow-y: auto;
    }
    
    .overflow-x-auto {
      overflow-x: auto;
    }
    
    .border {
      border-width: 1px;
    }
    
    .border-t {
      border-top-width: 1px;
    }
    
    .border-b {
      border-bottom-width: 1px;
    }
    
    .border-r {
      border-right-width: 1px;
    }
    
    .border-gray-200 {
      border-color: var(--color-gray-200);
    }
    
    .border-gray-300 {
      border-color: var(--color-gray-300);
    }
    
    .border-gray-700 {
      border-color: var(--color-gray-700);
    }
    
    .border-blue-600 {
      border-color: var(--color-secondary);
    }
    
    .divide-y > * + * {
      border-top: 1px solid var(--color-gray-200);
    }
    
    .divide-gray-200 > * + * {
      border-top-color: var(--color-gray-200);
    }
    
    /* ===========================================
       自定义动画
       =========================================== */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-fade-in {
      animation: fadeIn 0.6s ease-out forwards;
    }
    
    .delay-100 { animation-delay: 0.1s; }
    .delay-200 { animation-delay: 0.2s; }
    .delay-300 { animation-delay: 0.3s; }
    
    /* ===========================================
       自定义动画和过渡
       =========================================== */
    .transition {
      transition: all 0.3s ease;
    }
    
    .transform {
      transform: translateZ(0);
    }
    
    .hover\:scale-105:hover {
      transform: scale(1.05);
    }
    
    .hover\:bg-blue-50:hover {
      background-color: rgba(59, 130, 246, 0.05);
    }
    
    .hover\:bg-gray-50:hover {
      background-color: var(--color-gray-50);
    }
    
    .hover\:bg-gray-100:hover {
      background-color: var(--color-gray-100);
    }
    
    .hover\:text-blue-800:hover {
      color: #1e40af;
    }
    
    .hover\:text-gray-700:hover {
      color: var(--color-gray-700);
    }
    
    .hover\:text-red-900:hover {
      color: #7f1d1d;
    }
    
    .hover\:text-blue-900:hover {
      color: #1e3a8a;
    }
    
    /* ===========================================
       轮播图样式
       =========================================== */
    .carousel-slide {
      display: none;
      transition: opacity 1s ease;
    }
    
    .carousel-slide.active {
      display: block;
      opacity: 1;
    }
    
    /* ===========================================
       自定义工具类
       =========================================== */
    .text-shadow {
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .backdrop-blur-sm {
      backdrop-filter: blur(4px);
    }
    
    .scrollbar-hide::-webkit-scrollbar {
      display: none;
    }
    
    .scrollbar-hide {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    
    .rounded-t-lg {
      border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }
    
    .rounded-b-lg {
      border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    }
    
    .absolute-inset-0 {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }
    
    .flex-col {
      flex-direction: column;
    }
    
    .items-start {
      align-items: flex-start;
    }
    
    .flex-1 {
      flex: 1;
    }
    
    .whitespace-nowrap {
      white-space: nowrap;
    }
    
    .z-50 {
      z-index: 50;
    }
    
    .opacity-80 {
      opacity: 0.8;
    }
    
    .opacity-90 {
      opacity: 0.9;
    }
    
    .bg-opacity-50 {
      background-color: rgba(0, 0, 0, 0.5);
    }
    
    .bg-opacity-10 {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    .inline-flex {
      display: inline-flex;
    }
    
    .items-center {
      align-items: center;
    }
    
    .justify-items-center {
      justify-items: center;
    }
    
    .self-center {
      align-self: center;
    }
    
    .text-xs {
      font-size: 0.75rem;
    }
    
    .leading-5 {
      line-height: 1.25rem;
    }
    
    .h-full {
      height: 100%;
    }
    
    .min-h-screen {
      min-height: 100vh;
    }
    
    .content-auto {
      content-visibility: auto;
    }
    
    /* ===========================================
       特定组件样式
       =========================================== */
    /* 导航栏 */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background-color: var(--color-white);
      box-shadow: var(--shadow-md);
    }
    
    /* 标签切换 */
    .tab-btn {
      padding: 0.75rem 1.5rem;
      font-weight: 500;
      border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .tab-btn.active {
      background-color: var(--color-primary);
      color: var(--color-white);
    }
    
    .tab-btn:not(.active) {
      color: var(--color-gray-600);
    }
    
    .tab-btn:not(.active):hover {
      background-color: var(--color-gray-50);
      color: var(--color-gray-800);
    }
    
    .tab-content {
      display: none;
      animation: fadeIn 0.5s ease-out forwards;
    }
    
    .tab-content.active {
      display: block;
    }
    
    /* 轮播图 */
    .carousel {
      position: relative;
      height: 400px;
      border-radius: var(--border-radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    
    .carousel-dot {
      width: 0.75rem;
      height: 0.75rem;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.5);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .carousel-dot.active {
      width: 2rem;
      background-color: var(--color-white);
      border-radius: 0.375rem;
    }
    
    /* 模态框 */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 50;
      display: none;
      align-items: center;
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.5);
    }
    
    .modal.show {
      display: flex;
    }
    
    .modal-content {
      position: relative;
      width: 100%;
      max-width: 56rem;
      max-height: 90vh;
      overflow-y: auto;
      background-color: var(--color-white);
      border-radius: var(--border-radius-lg);
      box-shadow: var(--shadow-xl);
    }
    
    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--color-gray-500);
      cursor: pointer;
      transition: color 0.3s ease;
    }
    
    .modal-close:hover {
      color: var(--color-gray-700);
    }
    
    /* 页脚 */
    .footer {
      background-color: var(--color-gray-800);
      color: var(--color-white);
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
    
    /* 按钮样式 */
    .btn {
      display: inline-block;
      font-weight: 600;
      text-align: center;
      vertical-align: middle;
      user-select: none;
      padding: 0.5rem 1rem;
      border-radius: var(--border-radius-lg);
      transition: all 0.3s ease;
      cursor: pointer;
      border: 1px solid transparent;
    }
    
    .btn-primary {
      color: var(--color-white);
      background-color: var(--color-secondary);
    }
    
    .btn-primary:hover {
      background-color: var(--color-primary);
    }
    
    .btn-outline {
      color: var(--color-secondary);
      background-color: transparent;
      border-color: var(--color-secondary);
    }
    
    .btn-outline:hover {
      background-color: var(--color-light);
    }
    
    .btn-gray {
      color: var(--color-gray-700);
      background-color: var(--color-gray-100);
    }
    
    .btn-gray:hover {
      background-color: var(--color-gray-200);
    }
    
    /* 卡片样式 */
    .card {
      background-color: var(--color-white);
      border-radius: var(--border-radius-lg);
      box-shadow: var(--shadow-md);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }
    
    /* 表单样式 */
    .form-input {
      width: 100%;
      padding: 0.5rem 1rem;
      border: 1px solid var(--color-gray-300);
      border-radius: var(--border-radius-lg);
      font-size: 1rem;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }
    
    .form-input:focus {
      outline: none;
      border-color: var(--color-secondary);
      box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
    }
    
    .form-label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--color-gray-700);
    }
    
    /* ===========================================
       响应式样式
       =========================================== */
    @media (min-width: 640px) {
      .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    
    @media (min-width: 768px) {
      .md\:flex {
        display: flex;
      }
      
      .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      
      .md\:w-1\/3 {
        width: 33.333333%;
      }
      
      .md\:w-2\/3 {
        width: 66.666667%;
      }
      
      .md\:w-auto {
        width: auto;
      }
      
      .md\:border-b-0 {
        border-bottom-width: 0;
      }
      
      .md\:border-t-0 {
        border-top-width: 0;
      }
      
      .md\:p-12 {
        padding: 3rem;
      }
    }
    
    @media (min-width: 1024px) {
      .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      
      .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }
  </style>